//es6
import template from './region.view.html';
//var template = require('./header.view.html');
class Directive {
    constructor() {
        return {
            controller       : 'regionController',
            replace          : true,
            scope            : {
                formName : '=',
                ngModel  : '='
            },
            controllerAs     : 'vm',
            bindToController : true,
            templateUrl      : template,
            link             : () => {
            }
        }
    }

    static factory() {
        return new Directive();
    }
}
export default Directive;